@extends('Admin.layout.layout')
@section('content')
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <div class="col-sm-11">
                            <h5>聊天详情(样式待调整)</h5>
                        </div>
                        <div class="col-sm-1">
                            <div class="bottom-con">
                                <a class ="btn btn-s-m btn-default" href="{{asset('/foradmin/product')}}">返回</a>
                            </div>
                        </div>
                    </div>
                    <div class="ibox-content">
                        @foreach($record['content_arr'] as $key=>$value)
                            <p>
                                [ {{date('Y-m-d H:i:s',array_get($value,'sendtime')/1000)}} ] {{array_get($value,'from')}}  :
                                {{array_get($value,'body.msg')?array_get($value,'body.msg'):array_get($value,'body.url')}}
                            </p>
                        @endforeach
                    </div>
                </div>
            </div>
        </div>

    </div>
    <script src="{{asset('js/plugins/staps/jquery.steps.min.js')}}"></script>
    <script>
        $(document).ready(function () {

        });
    </script>
@endsection
